import getters from './getters';

const state={
  hideTrainList:true,
  datas:{}
};
const mutations={
  hideTrainList(state){
    state.hideTrainList=false;
  },
  showTrainList(state){
    state.hideTrainList=true;
  },
  getDetailData(state,details){
    state.datas=details;
    console.log(state.datas);
  }
};

export default{
  state,
  mutations,
  getters
}
